using System;
using System.Collections.Generic;
using System.Text;

namespace SwinMessengerLibrary
{
    public class MessageEventArgs : EventArgs
    {
        private string _Id;

        /// <summary>
        /// The id of the sender or the recipient
        /// </summary>
        public string Id
        {
            get { return _Id; }
        }
        private string _Message;

        /// <summary>
        /// The body of the message
        /// </summary>
        public string Message
        {
            get { return _Message; }
        }

        private string _State;

        public string State
        {
            get { return _State; }
        }

        public MessageEventArgs(string id, string message, string state)
        {
            _State = state;
            _Id = id;
            _Message = message;
        }
    }
}
